package com.zenith.api.po.vo.edu;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(name = "EduCourseSelectionVO", description = "课程选课VO")
public class EduCourseSelectionVO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "学生ID")
    private Long studentId;
    
    @Schema(description = "课程ID")
    private Long courseId;
    
    @Schema(description = "选课时间")
    private LocalDateTime selectionTime;
    
    @Schema(description = "选课状态：1-已选课 2-已退课 3-已完成")
    private Integer status;
    
    @Schema(description = "课程成绩")
    private BigDecimal grade;
    
    @Schema(description = "获得学分")
    private BigDecimal credit;
    
    @Schema(description = "完成率（%）")
    private BigDecimal completionRate;
    
    @Schema(description = "学习小时数")
    private Integer studyHours;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    
    @Schema(description = "创建人ID")
    private Long createBy;
    
    @Schema(description = "更新人ID")
    private Long updateBy;
}